package router

import (
	"ordersystem/controller"

	"github.com/gofiber/fiber/v2"
)

func SetLabRouter(labRouter *fiber.Router) {
	routerForLab := (*labRouter).Group("/lab")
	routerForLab.Post("/queryNumber", controller.LabQueryNumberController)
	routerForLab.Post("/queryLab", controller.LabQueryLabController)
	routerForLab.Post("/queryLabs", controller.LabQueryLabsController)
	routerForLab.Post("/delete", controller.LabDeleteLabController)
	routerForLab.Post("/create", controller.LabCreateLabController)
	routerForLab.Post("/update", controller.LabUpdateLabController)
	routerForLab.Post("/queryTags", controller.LabQueryTagsController)
	routerForLab.Post("/queryByLabIdAndDate", controller.LabQueryByLabIdAndDateController)
	routerForLab.Post("/queryByTagAndDate", controller.LabQueryByTagAndDateController)
}
